package com.mz.demo.utils.entity;

public class GloableException extends RuntimeException {

    private Integer code;
    private String msg;

    public static GloableException gen(  Integer code, String msg ){
        GloableException gloableException = new GloableException();
        gloableException.code = code;
        gloableException.msg = msg;
        return gloableException;
    }
}
